package dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import entity.Logistics;
import entity.MyCart;

public interface MyCartDao {
	public void insertMyCart(MyCart cart);
	
	public List<MyCart> selectmycart(@Param("uid") int uid,
									@Param("start")Integer start,
									@Param("offset")Integer offset);
	
	public Integer getCount(Integer uid);
	
	public List<MyCart> selectCartByUid(int uid);
	
	public double getCartTotalprice(int uid);
	
	public void intsertLogistics(Logistics logis);
	
	public void deleteCartUid(int uid);
}
